package edu.moravian.UI.entity;

import edu.moravian.entity.BallEntity;
import edu.moravian.math.Point2D;
import edu.moravian.math.Vector2D;
import java.awt.Color;



/**
 *
 * @author Elliot
 */
public class BallEntityView 
{
    private BallEntity ballModel;
    private Color color;
    
    public BallEntityView(BallEntity ballModel, Color color) 
    {
        this.ballModel = ballModel;
        this.color = color;
    }
    
    public Vector2D getHeading()
    {
        return ballModel.getHeading();
    }
    
    public Point2D getLocation()
    {
        return ballModel.getLocation();
    }
    
    public double getRadius()
    {
        return ballModel.getRadius();
    }
    
    public Color getColor()
    {
        return color;
    }
      
    
}
